package com.project.mall.mapper;

import com.project.mall.bean.generator.CskaoyanmallOrderGoods;
import com.project.mall.bean.generator.CskaoyanmallOrderGoodsExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface CskaoyanmallOrderGoodsMapper {
    long countByExample(CskaoyanmallOrderGoodsExample example);

    int deleteByExample(CskaoyanmallOrderGoodsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CskaoyanmallOrderGoods record);

    int insertSelective(CskaoyanmallOrderGoods record);

    List<CskaoyanmallOrderGoods> selectByExample(CskaoyanmallOrderGoodsExample example);

    CskaoyanmallOrderGoods selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CskaoyanmallOrderGoods record, @Param("example") CskaoyanmallOrderGoodsExample example);

    int updateByExample(@Param("record") CskaoyanmallOrderGoods record, @Param("example") CskaoyanmallOrderGoodsExample example);

    int updateByPrimaryKeySelective(CskaoyanmallOrderGoods record);

    int updateByPrimaryKey(CskaoyanmallOrderGoods record);
}